import request from '@/utils/request';

// 发送消息到AI助手
export function sendMessage(content) {
    return request({
        url: '/ai/chat/send',
        method: 'post',
        params: { content }
    });
}

// 清除当前对话历史
export function clearChat() {
    return request({
        url: '/ai/chat/clear',
        method: 'get'
    });
}